package com.zjj.springstu.springHandwriting.framework.annotation;

import com.zjj.springstu.springHandwriting.framework.entity.BeanDefinition;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Component {
	String beanName() default "";
	BeanDefinition.ScopeEnum scope() default BeanDefinition.ScopeEnum.SINGLETON;
	boolean isLazy() default false;
}
